package com.lcq.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lcq.common.utils.PageUtils;
import com.lcq.gulimall.product.entity.CategoryEntity;
import com.lcq.gulimall.product.vo.IndexCategory2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author lichuanqi
 * @email lichuanqi0086@163.com
 * @date 2021-02-21 17:28:25
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> queryCategoryTree();

    Long[] findCateLogPath(Long catelogId);

    List<CategoryEntity> getCategoriesByLevel(Integer level);

    Map getCatalogJson();

    Map getCatalogJsonOp();

    String getCatalogJsonRedis();
}

